package com.shanghe.house.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shanghe.house.entity.Device;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface DeviceMapper extends BaseMapper<Device> {
    List<Device> findByNameOrType(@Param("keyword") String keyword);
} 